/* 
 *  This file is part of hmvcBlog-dashboard.
 *
 *  hmvcBlog-dashboard is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU Affero General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  hmvcBlog-dashboard is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU Affero General Public License for more details.
 *
 *  You should have received a copy of the GNU Affero General Public License
 *  along with hmvcBlog-dashboard.  If not, see <http://www.gnu.org/licenses/>.
 *
 */
package com.googlecode.hmvc4gwt.example.hmvcblog.frontend.dashboard.client.addblog;

import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.FlexTable;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.TextArea;
import com.google.gwt.user.client.ui.TextBox;
import com.google.gwt.user.client.ui.Widget;
import com.googlecode.hmvc4gwt.client.view.AViewGwt;

/**
 * 
 *
 * @author jens.meiss
 */
public class AddBlogView extends AViewGwt {

	private Label labelTitle;
	
	private Label labelDescription;
	
	private Label labelBlogTitleEmpty;
	
	private TextBox textBoxTitle;

	private TextArea textAreaDescription;

	private Button buttonAddBlog;

	private Button buttonCancel;
	
	private FlexTable flexTableContainer;
	
	public Button getButtonAddBlog() {
		return buttonAddBlog;
	}
	
	public Button getButtonCancel() {
		return buttonCancel;
	}
	
	public FlexTable getFlexTableContainer() {
		return flexTableContainer;
	}

	public Label getLabelBlogTitleEmpty() {
		return labelBlogTitleEmpty;
	}

	public Label getLabelDescription() {
		return labelDescription;
	}

	public Label getLabelTitle() {
		return labelTitle;
	}

	public TextArea getTextAreaDescription() {
		return textAreaDescription;
	}

	public TextBox getTextBoxTitle() {
		return textBoxTitle;
	}

	public Widget getWidget() {
		return getFlexTableContainer();
	}

	public void setButtonAddBlog(Button buttonAddBlog) {
		this.buttonAddBlog = buttonAddBlog;
	}

	public void setButtonCancel(Button buttonCancel) {
		this.buttonCancel = buttonCancel;
	}

	public void setFlexTableContainer(FlexTable flexTableContainer) {
		this.flexTableContainer = flexTableContainer;
	}

	public void setLabelBlogTitleEmpty(Label labelBlogTitleEmpty) {
		this.labelBlogTitleEmpty = labelBlogTitleEmpty;
	}

	public void setLabelDescription(Label labelDescription) {
		this.labelDescription = labelDescription;
	}

	public void setLabelTitle(Label labelTitle) {
		this.labelTitle = labelTitle;
	}

	public void setTextAreaDescription(TextArea textAreaDescription) {
		this.textAreaDescription = textAreaDescription;
	}

	public void setTextBoxTitle(TextBox textBoxTitle) {
		this.textBoxTitle = textBoxTitle;
	}

}
